package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetMealDishMapper {

    List<Long> getSetMealIds(List<Long> dishIds);

    void add(List<SetmealDish> list);


    @Select("select * from setmeal_dish where dish_id = #{dishId};")
    List<SetmealDish> getSetMealId(Integer setMealId);

    void deleteBySetMealId(Long setmealId);

    void delete(Integer id);
}